<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>:: Shanti Chakra Foundation ::</title>
<link href="../style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../css/yellow.css" />
<link rel="stylesheet" href="../css/small.css" />
<meta http-equiv="content-type" content="text/xml; charset=utf-8" />
<%@ page import="java.io.* ,java.util.*, java.sql.*, Login.*, Jobs.*"%>
<style type="text/css">
<!--
.style2 {
	font-size: 18px;
	font-weight: bold;
	font-style: italic;
}
.style3 {color: #FFFFFF}
-->
</style>
</head>
<script>
function Compose()
{
window.location = "JobSubmit";
}
</script>
<body >
<p align="left"><a href="../AdminAccount.jsp">Back</a>
  <%
HttpSession hs = request.getSession(true);
String id = (String) hs.getAttribute("memid");
%>
Welcome : <%=id%>.
<%

Connection con;
PreparedStatement ps;
String query = "select * from jobsubmit ; ";
MySqlConnector ms = new MySqlConnector();
con = ms.Connect();
ps = con.prepareStatement(query);
ResultSet rs = ps.executeQuery();
%>
<form action="../Jobsubmit" method="post" name="Jobs" id="Jobs">
<p></p>
<table width="100%" height="86" border="0" cellpadding="0" cellspacing="0" class="greenlink_no_left_padding">
  <tr bgcolor="#333333">
    <th height="31" colspan="10"><div align="center" class="redtext">
      <h1 class="style2 style3">Job @ SCF </h1>
    </div></th>
  </tr>
  <tr bgcolor="#333333">
    <th height="31" colspan="10"><input name="Submit" type="button" class="greenlink_no_left_padding" value="Post a Job" onClick="return Compose()">
        <input name="Delete" type="submit" class="greenlink_no_left_padding" id="Delete" value="Delete a Job"></th>
  </tr>
  <tr>
    <td width="5%" bgcolor="#D8F2C9" class="redtext">&nbsp;</td>
    <td width="5%" bgcolor="#D8F2C9" class="redtext"><strong>SNo.</strong></td>
    <td width="10%" height="24" bgcolor="#D8F2C9" class="redtext"><strong>Job Title </strong></td>
    <td width="8%" bgcolor="#D8F2C9" class="redtext"><strong>No: of posts </strong></td>
    <td width="9%" bgcolor="#D8F2C9" class="redtext"><strong>Experience</strong></td>
    <td width="11%" bgcolor="#D8F2C9" class="redtext"><strong>Qualification</strong></td>
    <td width="14%" bgcolor="#D8F2C9" class="redtext"><strong>Contact Person</strong></td>
    <td width="10%" bgcolor="#D8F2C9" class="redtext"><strong>Contact Details </strong></td>
    <td width="13%" bgcolor="#D8F2C9" class="redtext"><strong>Organisation</strong></td>
    <td width="15%" bgcolor="#D8F2C9" class="redtext">Date Of Posting </td>
  </tr>
 
  <tr>
    
    <% 
  while(rs.next() == true )
  {    
  %>
  <td class="boldtext">
  <input name="rcheck" type="radio" value="<%=rs.getString(1)%>"></td>
    <td class="boldtext"><%=rs.getString(1)%></td>
    <td class="boldtext"><%=rs.getString(2)%></td>
    <td class="boldtext"><%=rs.getString(3)%></td>
    <td class="boldtext"><%=rs.getString(4)%></td>
    <td class="boldtext"><%=rs.getString(5)%></td>
    <td class="boldtext"><%=rs.getString(6)%></td>
    <td class="boldtext"><%=rs.getString(7)%></td>
    <td class="boldtext"><%=rs.getString(8)%></td>
    <td class="boldtext"></td>
  </tr>
  <tr>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
    <td class="boldtext">&nbsp;</td>
  </tr>
  <% } %>
</table>
</form>
<p>
</body>
</html>
